home *** CD-ROM | disk | FTP | other *** search
- Path: tudelft.nl!news
- From: Wooly Mittens <0201367@ptfe12.hro.nl>
- Newsgroups: comp.sys.amiga.graphics
- Subject: Re: colour numbers in pictures.
- Date: Fri, 12 Apr 1996 10:43:28 -0700
- Organization: TU/Delft
- Message-ID: <316E9640.3C0B@ptfe12.hro.nl>
- References: <4kl4km$f22@gidora.kralizec.net.au>
- NNTP-Posting-Host: dutsp211.stm.tudelft.nl
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Win16; I)
-
- Andrew Bruno wrote:
- >
- > Hello....
- >
- > In an iff piccie the colour numbers are:
- >
- > 2, 4, 8, 16, 32, 64, 128 and 256.
- >
- > But the number used MAY be less.
- >
- > Is there a program that allows "me" to reduce the number of used colours from
- > say 32 to 24?
-
- It' wouldn't do you any good: the way it works is as follows
- you get a bitmap that you can put pixels on and are displayed on screen
- 00000000
- 00011000
- 00100100
- 00011000 black square with small white circle)
- 00000000
- but with one layer of 1's and zero's you'd get only 2 posibilities(colors) for
- each pixel.
- So we overlay another bitmap on top of it this doubles the posibilities
- from 2 colors to 4 every pixel could have either 00,01,10 or 11
-
- adding another bit per pixel would double the fun again from 4 to 8 colors
- 000,001,010,011,100,101,110,111
-
- You could continue doing this from 2,4,8,16,32,64,128,256 colors with
- 1,2,3, 4, 5, 6, 7, 8 bit per pixel
-
- and since half a bit does not exist reducing colors from 32 to 24 would
- not decrease the size of the bitmap (though maybe the pallete but it is small
- anyway) and thus be nogood in particular to anybody.
-
- Wooly Mittens
-